package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "product_option_value3")
public class ProductOptionValue3 {
    @Id
    @Column(name = "product_option_value_id")
    private Integer productOptionValueId;

    @Id
    @Column(name = "product_option_id")
    private Integer productOptionId;

    @Id
    @Column(name = "product_id")
    private Integer productId;

    @Id
    @Column(name = "option_id")
    private Integer optionId;

    @Id
    @Column(name = "option_value_id")
    private Integer optionValueId;

    private Integer quantity;

    private Boolean subtract;

    private BigDecimal price;

    @Column(name = "price_prefix")
    private String pricePrefix;

    private Integer points;

    @Column(name = "points_prefix")
    private String pointsPrefix;

    private BigDecimal weight;

    @Column(name = "weight_prefix")
    private String weightPrefix;

    @Column(name = "unit_quantity")
    private Integer unitQuantity;
}